package com.service.impl;

import com.entity.DinerUser;
import com.mapper.DinerUserMapper;
import com.service.DinerUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class DinerUserServiceImpl implements DinerUserService {

    @Autowired
    DinerUserMapper mapper;

    @Override
    public DinerUser getUserInfo(String phone,Integer userId) {
        return mapper.getUserInfo(phone,userId);
    }
}
